﻿using System;
using System.Text;
using System.Web.UI.Design;


namespace BizElements.Web
{
    internal class SearchViewDesigner : ControlDesigner
    {
        public override string GetDesignTimeHtml()
        {
            StringBuilder htm = new StringBuilder();
            htm.Append("<table>");
            htm.Append("<tr>");
            htm.Append("<td>Column0</td>");
            htm.Append("<td>Column1</td>");
            htm.Append("<td>Column2</td>");
            htm.Append("</tr>");
            for (int idxItem = 0; idxItem < 5; idxItem++)
            {
                htm.Append("<tr>");
                htm.Append("<td>abc</td>");
                htm.Append("<td>abc</td>");
                htm.Append("<td>abc</td>");
                htm.Append("</tr>");
            }

            htm.Append("</table>");
            return htm.ToString();
        }
    }
}